package com.mipo.singleton.lazy.threadsafe.methodsynchronized;

/**
 * thread test class
 * @author kitty
 */
public class AaMain extends Thread {

	@Override
	public void run() {
		System.out.println(MethodSynchronizedSingleton.getInstance().hashCode());
	}

	public static void main(String[] args) {
		AaMain[] mts = new AaMain[10];
		for (int i = 0; i < mts.length; i++) {
			mts[i] = new AaMain();
		}

		for (int j = 0; j < mts.length; j++) {
			mts[j].start();
		}
	}
}



